﻿@using WebStore.Web.App.Utility.Helpers
@model WebStore.Web.App.Models.Product.ProductListModel
@{
ViewBag.Title = "Products";
}

@foreach (var p in Model.Products)
{
    Html.RenderPartial("Partial/_Product", p);
}
    
<br/>
<div class="pager">
    
    @Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new {page = x,category=Model.Category}))
</div>
